
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
using namespace std;

static void usage();

class network{
 public:
  char* runServer(const char* message); //returns the message sent by runClient
  //Precondition: The server has a message that must be sent to the client
  //Postconditiom: "message" is sent to the client and their message they sent is returned
  
  char* runClient(char* ip, const char* message); //returns the message sent by runServer.  ip = IP address of the server
  //Precondition: The client has to send a message to the server
  //Postcondition: "message" is sent to the server and their message they sent is returned
 private: 
  
};



// see the example main that is in this folder for usage
// the server takes in a message and returns one sent by client
// the client takes in a message and an ip and returns a 
// message sent by the server
